<template>
  <div>
    <p>{{ count }}</p>
    <button @click="$emit('update:count', count + 1)">++</button>
  </div>
</template>

<script>
export default {
  props: ["count"],
};
</script>

<style>
</style>